package com.bindapp.util;


import android.content.Context;

import com.bindapp.R;
import com.bindapp.widget.RoundImageLoader;
import com.bindapp.widget.roundview.RoundedImageView;
import com.bumptech.glide.Glide;

/**
 * Created by apple on 2018/7/1.
 */

public class GlideRoundImageLoader extends RoundImageLoader {
    @Override
    public void displayImage(Context context, Object path, RoundedImageView imageView) {
        Glide.with(context).load(R.drawable.boy).transform(new GlideRoundTransform(context,10)).into(imageView);
        /*Glide.with(context).load(path.toString())
                .asBitmap()
                .transform(new GlideRoundTransform(context,10))
                .into(imageView);*/

    }
}
